class MyComponent {}

MyComponent.propTypes = {
  userName: 123
};